package Day07.Demo02;

/**
 * @author 韩映晖
 * @version 1.0
 * @date 2022/2/4 17:35
 */
public class Anonymous {
    public static void main(String[] args) {
        Person one = new Person();
        one.name= "高圆圆";
        one.showName();
        System.out.println("===========");
        //匿名对象
        new Person().name = "赵又廷";
        new Person().showName();//我叫：null

    }
}
